<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改内镜洗消记录')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-record-edit" th:object="${washRecord}">
            <input name="washBatch" th:field="*{washBatch}" type="hidden">
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">内镜编号：</label>
                    <div class="col-sm-8">
                        <input name="endoscopeId" th:field="*{endoscopeId}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">内镜名称：</label>
                    <div class="col-sm-8">
                        <input name="endoscopeName" th:field="*{endoscopeName}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">钢印号：</label>
                    <div class="col-sm-8">
                        <input name="endoscopeStamp" th:field="*{endoscopeStamp}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">内镜卡号：</label>
                    <div class="col-sm-8">
                        <input name="rfidNum" th:field="*{rfidNum}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">内镜类型：</label>
                    <div class="col-sm-8">
                        <input name="endoscopeTypeId" th:field="*{endoscopeTypeId}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">内镜类型名称：</label>
                    <div class="col-sm-8">
                        <input name="endoscopeTypeName" th:field="*{endoscopeTypeName}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">洗消人ID：</label>
                    <div class="col-sm-8">
                        <input name="washUserId" th:field="*{washUserId}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">洗消人名称：</label>
                    <div class="col-sm-8">
                        <input name="washUserName" th:field="*{washUserName}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">工作站ID：</label>
                    <div class="col-sm-8">
                        <input name="workstationId" th:field="*{workstationId}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">工作站名称：</label>
                    <div class="col-sm-8">
                        <input name="workstationName" th:field="*{workstationName}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">开始时间：</label>
                    <div class="col-sm-8">
                        <input name="startTime" th:field="*{startTime}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">结束时间：</label>
                    <div class="col-sm-8">
                        <input name="endTime" th:field="*{endTime}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">洗消类型：</label>
                    <div class="col-sm-8">
                        <input name="washProgram" th:field="*{washProgram}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">洗消类型名称：</label>
                    <div class="col-sm-8">
                        <input name="washProgramName" th:field="*{washProgramName}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">备注：</label>
                    <div class="col-sm-8">
                        <textarea name="remark" class="form-control">[[*{remark}]]</textarea>
                    </div>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "system/record";
        $("#form-record-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-record-edit').serialize());
            }
        }
    </script>
</body>
</html>